Pronamic\WordPress\Pay\Extensions\WooCommerce\Extension C

Total Complexity 101
Dependencies 17
Dependents 2
Total lines 1,358
Lines of code 870
Logical lines of code 268
Comment lines 306
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
get_gateways()
A
25
1 266
status_update()
A
42 15 50
maybe_update_refunded_payment()
A
39 13 65
checkout_fields()
A
46 7 40
redirect_url()
S
55 7 19
blocks_payment_method_type_registration()
S
56 6 17
subscription_source_text()
S
51 5 28
maybe_add_failure_reason_notice()
S
52 5 26
payment_gateways()
S
55 5 20
checkout_update_order_meta()
S
55 5 20
input_element()
S
48 3 38
woocommerce_thankyou_order_received_text()
S
54 4 22
admin_init()
S
45 1 56
trigger_payment_fulfilled_action()
S
63 3 11
source_text()
S
54 2 23
input_checkout_fields_select()
S
56 2 19
register_settings()
S
52 1 34
setup()
S
55 2 18
reservation_cancelled_note()
S
59 2 15
source_url()
S
64 3 10
settings_section()
S
63 2 12
input_checkbox()
S
54 1 24
subscription_source_url()
S
68 2 7
__construct()
S
60 1 14
source_description()
S
79 1 3
init()
S
62 1 10
subscription_source_description()
S
79 1 3